package com.itheima.ydd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 友情链接
 */
@Data
@TableName("ydd_link")
public class YddLink implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String title;//

    private String url;

    private String des;

    private String img;

    //1是图片链接，2是文字链接
    private String type;

    //是否为默认数据，null表示不是，1表示是
    private String default_data;
}
